
package za.ac.cput.peter.ObjectOrientatedConcepts.Encapsulation.Conf;

import org.springframework.beans.factory.annotation.Configurable;
import org.springframework.context.annotation.Bean;
import za.ac.cput.peter.ObjectOrientatedConcepts.Encapsulation.Impl.Account;
import za.ac.cput.peter.ObjectOrientatedConcepts.Encapsulation.Impl.AccountImpl;

@Configurable
public class AppConfig
{
    @Bean
    public Account acc(){ return new AccountImpl(); }
}
